/*
 *   Copyright©2020 JoyCastle.
 *   All Rights Reserved.
 *   
 *   FileName:     NetworkWindow.cs
 *   Author:       VirgilWei
 *   CreateTime:   2020/12/02 16:58:49
 *   UnityVersion: 2019.3.14f1
 *   Version:      1.5.0
 *   Description:
 *   
 */

using MotionFramework.Console;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[ConsoleAttribute("其他信息", 106)]
public class OtherWindow : IConsoleWindow
{
    private Vector2 _scrollPos = Vector2.zero;

    public void OnGUI()
    {
        /*float offset = ConsoleGUI.ToolbarStyle.fixedHeight + ConsoleGUI.LableStyle.fontSize;
        _scrollPos = ConsoleGUI.BeginScrollView(_scrollPos, offset);
        ConsoleGUI.Lable($"网络时间模块:");
        ConsoleGUI.Lable($"   Debug:                 {WordSDK.NetworkTime.NetworkTimeService.IsDebug}");
        ConsoleGUI.Lable($"   诚信玩家:             {WordSDK.NetworkTime.NetworkTimeService.IsHonestPlayer}");
        ConsoleGUI.Lable($"   获得网络时间:      {WordSDK.NetworkTime.NetworkTimeService.IsGetNetworkTime}");
        if (WordSDK.NetworkTime.NetworkTimeService.IsGetNetworkTime)
        {
            ConsoleGUI.Lable($"   网络时间:             {WordSDK.NetworkTime.NetworkTimeService.ServiceNow}");
            ConsoleGUI.Lable($"   网络UTC时间:      {WordSDK.NetworkTime.NetworkTimeService.ServiceUTCNow}");
        }
        ConsoleGUI.Lable($"   本地时间:             {WordSDK.NetworkTime.NetworkTimeService.SystemNow}");
        ConsoleGUI.Lable($"   本地UTC时间:      {WordSDK.NetworkTime.NetworkTimeService.SystemUTCNow}");
        ConsoleGUI.Lable($"\r\n");

        ConsoleGUI.EndScrollView();*/
    }
}

